//
//  PSSalaryRangeView.h
//  Btpin
//
//  Created by Vic on 2019/3/13.
//  Copyright © 2019 Vic. All rights reserved.
//

#import <UIKit/UIKit.h>

@class PSSalaryRangeView;

@protocol PSSalaryRangeViewDelegate <NSObject>
@optional
- (void)psSalaryRangeViewCancel:(PSSalaryRangeView *_Nonnull)psSalaryRangeView;
- (void)psSalaryRangeViewOkLeftData:(PublicCategoryElementModel *_Nullable)leftModel rightData:(PublicCategoryElementModel *_Nonnull)rightModel PSSalaryRangeView:(PSSalaryRangeView *_Nullable)psSalaryRangeView;
@end

NS_ASSUME_NONNULL_BEGIN

@interface PSSalaryRangeView : UIButton

@property (nonatomic, weak) id<PSSalaryRangeViewDelegate>delegate;

- (instancetype)initWithData:(NSArray<PublicCategoryElementModel *> *)dataArray target:(id)target;

@end

NS_ASSUME_NONNULL_END
